package com.zzyl.nursing.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zzyl.common.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class NursingTaskDto {
    /**
     * elderName老人姓名queryfalsestring
     * endTime结束时间queryfalseLocalDateTime
     * nurseId护理员IDqueryfalseinteger(int64)
     * pageNum页码queryfalseinteger(int32)
     * pageSize每页显示条数queryfalseinteger(int32)
     * projectId护理项目IDqueryfalseinteger(int64)
     * startTime开始时间queryfalseLocalDateTime
     * status状态（1待执行2已执行3已queryfalseinteger(int32)
     */
    private String elderName;
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    private Long nurseId;
    private Integer pageNum;
    private Integer pageSize;
    private Long projectId;
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    private Integer status;
}
